import Vue from 'vue'
import 'normalize.css/normalize.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import '@/styles/index.scss' // global css

import App from './App'

import store from './store'

import router from './router'

import '@/icons' // icon
import '@/assets/iconfont/iconfont.css'
// import './styles/variables.scss'
import './styles/element-variables.scss'
// 引入echarts
import echarts from './echarts'
Vue.use(ElementUI)
// 挂载到vue实例中
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false

// vue实例化
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
